package com.wenguo.bussines.model;

import com.wenguo.Constants;

/**
 * 操作结果
 */
public class ResultMessage {
	/**
	 * 操作之后返回的编号
	 */
	private String returnCode = Constants.status.NORMAL;
	/**
	 * 操作之后返回的消息
	 */
	private String errorMessage;
	
	public ResultMessage() {
		
	}
	
	public ResultMessage(String msg) {
		this.errorMessage = msg;
	}
	
	public ResultMessage(String code, String msg) {
		this.returnCode = code;
		this.errorMessage = msg;
	}

	public String getReturnCode() {
		return returnCode;
	}

	public void setReturnCode(String returnCode) {
		this.returnCode = returnCode;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}
	
}
